﻿using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
using Salary.Data;
using Salary.NHibernate;

namespace HotelBookingDataGenerator.CastleWindsor
{
    public class DataGeneratorInstaller : IWindsorInstaller
    {
        public void Install(IWindsorContainer container, IConfigurationStore store)
        {
            container.Register(Component.For<DataGenerator>().Interceptors<NhInterceptor>()); ;
        }
    }
}
;